package mythink_1;

public class think_2 {
		
	/*static int i ; 
	
	public int aMethod() { 
	  i++; 
	  return i; 
	} 
	
	public static void main (String args[]) {    
		 	think_2 test=new think_2() ;  
	       test.aMethod () ; 
	System.out.println (test.aMethod()) ; 
	}  */

	
		int w, x, y ,z;
		public think_2 (int a,int b)
		{
		x=a; y=b;
		System.out.println("a ="+a+"  "+"b ="+b);
		}
		public think_2 (int a, int b, int c, int d)
		{
		// assix=a; y=b;gnment x=a, y=b
		this(a,b);
		base(a,b);
		w=d;
		z=c;
		System.out.println("w ="+w+"  "+"z ="+z);
		}
		
		
		private void base(int a, int b) {
			// TODO Auto-generated method stub
			x=a; y=b;
			System.out.println("base_a ="+a+"  "+"base_b ="+b);
		}
		public static void main (String args[]) {    
		 	think_2 test=new think_2(1,2,3,4) ;  
	      
		 	//System.out.println (test.toString()) ; 
	}  

	
	
		
}
